package com.atguigu.order.feign;

import com.atguigu.commonutils.result.vo.CourseWebVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author kabuda
 * @create 2023-05-18 13:13
 */
@FeignClient("edu-service")
public interface CourseFeignService {
    @GetMapping("/eduservice/front/course/getCourse/{courseId}")
    CourseWebVo getCourse(@PathVariable("courseId")String courseId);
}
